<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/11/9
  Time: 10:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>菜单</title>
    <link href="${pageContext.request.contextPath}/css/left.css" rel="stylesheet" type="text/css">
    <link rel="StyleSheet" href="${pageContext.request.contextPath}/css/dtree.css" type="text/css">
</head>
<body>
<table width="100" border="0" cellspacing="0" cellpadding="0">
    <tbody><tr>
        <td height="12"></td>
    </tr>
    </tbody></table>
<table width="100%" border="0">
    <tbody><tr>
        <td>
            <div class="dtree">
                <a href="javascript: d.openAll();">展开所有</a> | <a href="javascript: d.closeAll();">关闭所有</a>

                <script type="text/javascript" src="${pageContext.request.contextPath}/js/dtree.js"></script>
                <script type="text/javascript">
                    d = new dTree('d');
                    d.add('01',-1,'seven系统管理');

                    d.add('0101','01','用户管理','','','mainFrame');
                    d.add('010101','0101','用户管理','${pageContext.request.contextPath}/userServlet','','mainFrame');

                    d.add('0102','01','一级分类管理','','','mainFrame');
                    d.add('010201','0102','一级分类管理','${pageContext.request.contextPath}/categoryServlet','','mainFrame');

                    d.add('0103','01','二级分类管理','','','mainFrame');
                    d.add('010301','0103','二级分类管理','${pageContext.request.contextPath}/adminCategorySecond_findAll.action','','mainFrame');

                    d.add('0104','01','商品管理','','','mainFrame');
                    d.add('010401','0104','商品管理','${pageContext.request.contextPath}/adminProduct_findPage?page=1','','mainFrame');

                    d.add('0105','01','订单管理','','','mainFrame');
                    d.add('010501','0105','所有订单','${pageContext.request.contextPath}/adminOrder_findPageBean?page=1','','mainFrame');
                    d.add('010502','0105','未付款订单','${pageContext.request.contextPath}/adminOrder_findByState?page=1&state=1','','mainFrame');
                    d.add('010503','0105','已付款订单','${pageContext.request.contextPath}/adminOrder_findByState?page=1&state=2','','mainFrame');
                    d.add('010504','0105','已发货订单','${pageContext.request.contextPath}/adminOrder_findByState?page=1&state=3','','mainFrame');
                    d.add('010505','0105','完成的订单','${pageContext.request.contextPath}/adminOrder_findByState?page=1&state=4','','mainFrame');
                    document.write(d);
                </script><div class="dtree">
                <div class="dTreeNode"><img id="id0" src="../images/tree/base.gif" alt="">seven系统管理</div><div id="dd0" class="clip" style="display:block;"><div class="dTreeNode"><a href="javascript: d.o(1);"><img id="jd1" src="../images/tree/minus.gif" alt=""></a><img id="id1" src="../images/tree/folderopen.gif" alt=""><a href="javascript: d.o(1);" class="node">用户管理</a></div><div id="dd1" class="clip" style="display: block;"><div class="dTreeNode"><img src="../images/tree/line.gif" alt=""><img src="../images/tree/joinbottom.gif" alt=""><img id="id2" src="../images/tree/page.gif" alt=""><a id="sd2" class="node" href="${pageContext.request.contextPath}/adminUser_findAllUser.action" target="mainFrame" onclick="javascript: d.s(2);">用户管理</a></div></div><div class="dTreeNode"><a href="javascript: d.o(3);"><img id="jd3" src="../images/tree/minus.gif" alt=""></a><img id="id3" src="../images/tree/folderopen.gif" alt=""><a href="javascript: d.o(3);" class="node">一级分类管理</a></div><div id="dd3" class="clip" style="display: block;"><div class="dTreeNode"><img src="../images/tree/line.gif" alt=""><img src="../images/tree/joinbottom.gif" alt=""><img id="id4" src="../images/tree/page.gif" alt=""><a id="sd4" class="node" href="${pageContext.request.contextPath}/adminCategory_findAll.action" target="mainFrame" onclick="javascript: d.s(4);">一级分类管理</a></div></div><div class="dTreeNode"><a href="javascript: d.o(5);"><img id="jd5" src="../images/tree/minus.gif" alt=""></a><img id="id5" src="../images/tree/folderopen.gif" alt=""><a href="javascript: d.o(5);" class="node">二级分类管理</a></div><div id="dd5" class="clip" style="display: block;"><div class="dTreeNode"><img src="../images/tree/line.gif" alt=""><img src="../images/tree/joinbottom.gif" alt=""><img id="id6" src="../images/tree/page.gif" alt=""><a id="sd6" class="node" href="${pageContext.request.contextPath}/adminCategorySecond_findAll.action" target="mainFrame" onclick="javascript: d.s(6);">二级分类管理</a></div></div><div class="dTreeNode"><a href="javascript: d.o(7);"><img id="jd7" src="../images/tree/minus.gif" alt=""></a><img id="id7" src="../images/tree/folderopen.gif" alt=""><a href="javascript: d.o(7);" class="node">商品管理</a></div><div id="dd7" class="clip" style="display: block;"><div class="dTreeNode"><img src="../images/tree/line.gif" alt=""><img src="../images/tree/joinbottom.gif" alt=""><img id="id8" src="../images/tree/page.gif" alt=""><a id="sd8" class="node" href="${pageContext.request.contextPath}/adminProduct_findPage?page=1" target="mainFrame" onclick="javascript: d.s(8);">商品管理</a></div></div><div class="dTreeNode"><a href="javascript: d.o(9);"><img id="jd9" src="../images/tree/minusbottom.gif" alt=""></a><img id="id9" src="../images/tree/folderopen.gif" alt=""><a href="javascript: d.o(9);" class="node">订单管理</a></div><div id="dd9" class="clip" style="display: block;"><div class="dTreeNode"><img src="../images/tree/empty.gif" alt=""><img src="../images/tree/join.gif" alt=""><img id="id10" src="../images/tree/page.gif" alt=""><a id="sd10" class="nodeSel" href="${pageContext.request.contextPath}/adminOrder_findPageBean?page=1" target="mainFrame" onclick="javascript: d.s(10);">所有订单</a></div><div class="dTreeNode"><img src="../images/tree/empty.gif" alt=""><img src="../images/tree/join.gif" alt=""><img id="id11" src="../images/tree/page.gif" alt=""><a id="sd11" class="node" href="${pageContext.request.contextPath}/adminOrder_findByState?page=1&amp;state=1" target="mainFrame" onclick="javascript: d.s(11);">未付款订单</a></div><div class="dTreeNode"><img src="../images/tree/empty.gif" alt=""><img src="../images/tree/join.gif" alt=""><img id="id12" src="../images/tree/page.gif" alt=""><a id="sd12" class="node" href="${pageContext.request.contextPath}/adminOrder_findByState?page=1&amp;state=2" target="mainFrame" onclick="javascript: d.s(12);">已付款订单</a></div><div class="dTreeNode"><img src="../images/tree/empty.gif" alt=""><img src="../images/tree/join.gif" alt=""><img id="id13" src="../images/tree/page.gif" alt=""><a id="sd13" class="node" href="${pageContext.request.contextPath}/adminOrder_findByState?page=1&amp;state=3" target="mainFrame" onclick="javascript: d.s(13);">已发货订单</a></div><div class="dTreeNode"><img src="../images/tree/empty.gif" alt=""><img src="../images/tree/joinbottom.gif" alt=""><img id="id14" src="../images/tree/page.gif" alt=""><a id="sd14" class="node" href="${pageContext.request.contextPath}/adminOrder_findByState?page=1&amp;state=4" target="mainFrame" onclick="javascript: d.s(14);">完成的订单</a></div></div></div></div>
            </div>	</td>
    </tr>
    </tbody></table>
</body></html>

